SftTree/OCX 7.0

SftPictureObject.FrameColor Property

Softel vdm, Inc.

Defines the border color of the color sample.

Syntax       

Get

VB.NET

Clr = object.FrameColor  As UIntegerLanguage-specific information

VB

Clr = object.FrameColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.FrameColor;

VC++

OLE_COLOR Clr = object->FrameColor;
OLE_COLOR Clr = object->GetFrameColor();

C

HRESULT object->get_FrameColor(OLE_COLOR* Clr);

Delphi

Clr := object.FrameColor  : Cardinal;

Put

VB.NET

object.FrameColor = Clr  As UIntegerLanguage-specific information

VB

object.FrameColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.FrameColor = Clr;

VC++

OLE_COLOR object->FrameColor = Clr;
void object->PutFrameColor(OLE_COLOR Clr);

C

HRESULT object->put_FrameColor(OLE_COLOR Clr);

Delphi

object.FrameColor := Clr  : Cardinal;

object

A SftPictureObject object.

Clr

Defines the border color of the color sample.  Specify -1 to omit the border of the color sample.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The FrameColor property defines the border color of the color sample.

The SftPictureObject.Type property is set to sftTypeColorSample.

The SftPictureObject.Height and SftPictureObject.Width properties should be used to define the requested image size.

The SftPictureObject.SampleColor property can be used to define the sample color.

See Also  SftPictureObject Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com